.history-list {
  font-size: 13px;

  .currentHistory {
    color: white;
    //width: 100%;
    padding-left: 3px;
    background: var(--drag-h-color);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .history-list-item {
    color: rgb(128, 128, 128);
    //width: 100%;
    padding-left: 3px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .history-line-wrapper {
    display: flex; // 限定为弹性盒子，否则溢出
    flex: 1; // 限定弹性比例，否则宽度为0
    .prefix {
      text-overflow: ellipsis;
      white-space: nowrap;
      overflow: hidden;
      margin-left: -3px;
    }
  }
}

.printer-panel {
  padding: 20px;
  height: calc(100% - 100px);

}

.my-element-setting-choose-img {
  margin-left: 30px;
}

.divider-setting-layout {

  .my-divider__text {
    align-items: center;
    display: flex;

    .divider-setting-layout-lock {
      padding-left: 4px;
      padding-right: 4px;
      margin-left: 5px;
      border: 1px gray dashed;
      box-sizing: border-box;
    }

    .divider-setting-layout-lock.active {
      color: white !important;
      background: var(--drag-h-color) !important;
    }

    //.divider-setting-layout-lock {
    //  padding-left: 4px;
    //  padding-right: 4px;
    //  margin-left: 5px;
    //  border: 1px var(--drag-h-color) solid;
    //  box-sizing: border-box;
    //  background: var(--drag-h-color);
    //  color: white !important;
    //}

  }
}

.setting-wh-lock {
  height: 24px;
  display: flex;
  align-items: center;
  //border-radius: ;
  padding-left: 4px;
  padding-right: 4px;
  border: 1px gray dashed;
  box-sizing: border-box;


}

.setting-wh-lock.active {
  color: white;
  background: var(--drag-h-color) !important;
}

.setting-body {
  width: 800px;
  height: 500px;

  .setting-menu {
    width: 170px;
    background: #f8f8f8;

    .setting-menu-title {
      height: 60px;
      padding-left: 30px;
      line-height: 60px;
      font-weight: 600;
      font-size: 16px;
      color: #2b2b2b;
    }

    .setting-item-item {
      padding-left: 30px;
      align-items: center;
      height: 36px;
      cursor: pointer;

      .setting-item-item-title {
        font-weight: 400;
        font-size: 12px;
        padding-left: 13px;
      }
    }

    .setting-item-item-active {
      padding-left: 26px;
      box-sizing: border-box;
      background-color: #f2f2f2;
      border-left: 4px solid var(--drag-h-color);
      color: var(--drag-h-color);
    }
  }

  .setting-panel {
    flex: 1;

    .setting-panel-header {
      height: 60px;
      padding: 0 37px;
      background: white;
      box-sizing: border-box;
      border-bottom: 1px solid #e9e9e9;
      align-items: center;
      justify-content: space-between;

      .setting-panel-header-title {
        font: inherit;
        font-weight: 600;
        font-size: 14px;
        color: #2b2b2b;
      }

      .setting-panel-header-close {
        width: 24px;
      }
    }
  }
}

.printer-panel {
  padding: 20px;
  height: calc(100% - 100px);

  .printer-status-icon {
    border-radius: 10px;
  }

  .printer-status-icon-normal {
    color: #0ec300;
  }

  .printer-status-icon-error {
    color: darkred;
  }
}

//transition: all 0.3s ease-in-out;
.content-scale {
  width: 260px;
  height: 40px;
  //background: #79bbff;
  //border: 1px white solid;
  position: absolute;
  right: 20px;
  bottom: 7px;
  //box-sizing: border-box;

  .scale-preview {
    position: absolute;
    bottom: 50px;
    width: 100%;
    height: 162px;
    background: #edeef3;
    //overflow: hidden;
    //position: relative;
    //display: flex;
    //justify-content: center;
    border-radius: 8px;
    box-shadow: 0px 6px 20px rgba(25, 25, 26, .06), 0px 2px 12px rgba(25, 25, 26, .04);
    border: 1px white solid;
    box-sizing: border-box;

    .scale-design-content {
      user-select: none;
      overflow: hidden;
      //border: 1px solid white;
      position: absolute;
      background: white;
      scale: 0;
      box-shadow: 0px 6px 20px rgba(25, 25, 26, 0.06), 0px 2px 12px rgba(25, 25, 26, 0.04);;
      cursor: move;
    }

    .viewport {
      pointer-events: none;
      border: 2px solid #ee3846;
      box-sizing: border-box;
      border-radius: 5px;
      position: absolute;
      opacity: 0.8;
    }
  }
}

.mini-map-toolbar {
  position: absolute;
  bottom: 0px;
  width: 100%;
  height: 40px;
  border-radius: 8px;
  box-shadow: 0px 6px 20px rgba(25, 25, 26, .06), 0px 2px 12px rgba(25, 25, 26, .04);

  .mini-map-toolbar_redo-undo {
    background: white;
    margin-right: 10px;
    border-radius: 8px;
    align-items: center;
    width: 100px;
    box-shadow: 0px 6px 20px rgba(25, 25, 26, .06), 0px 2px 12px rgba(25, 25, 26, .04);
    border: 1px solid rgba(18, 17, 42, .07);
  }

  .mini-map-toolbar_control {
    background: white;
    border-radius: 8px;
    width: 100%;
    box-shadow: 0px 6px 20px rgba(25, 25, 26, .06), 0px 2px 12px rgba(25, 25, 26, .04);
    border: 1px solid rgba(18, 17, 42, .07);

    .mini-map-toolbar_control_scale {
      align-items: center;
    }

    .mini-map-toolbar_control_ratio {
      text-align: center;
      width: 40px;
      align-items: center;
      font-weight: 600;
      font-size: 12px;
      user-select: none;
    }
  }

  .mini-map-toolbar-icon {
    font-size: 20px !important;
    height: 32px;
    width: 32px;
    margin: 2px;
    display: inline-block;
    cursor: pointer;
    line-height: 32px;
    overflow: hidden;
    border-radius: 3px;
    text-align: center;

    &:hover:not(.my-icon-disabled) {
      background: var(--drag-h-color);
      //color: var(--drag-h-color);
    }
  }


}
